Microsoft® Visual Basic® Scripting Edition Hour Function |
Language Reference
|
Returns a whole number between 0 and 23, inclusive, representing the hour of the day.
Hour(time)
The time argument is any expression that can represent a time. If time contains Null, Null is returned.